//
//  LLAudioPlayer.h
//  LLFoundation
//
//  Created by my_liu on 2016/11/14.
//  Copyright © 2016年 . All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
#import "LLAudioPlayerDelegate.h"
#import "LLAudioModel.h"

@interface LLAudioPlayer : NSObject

@property (nonatomic,readonly)BOOL isPlaying;

@property (nonatomic,weak)id<LLAudioPlayerDelegate> delegate;

- (LLAudioModel *)getCurrentPlayingAudioFile;

- (void)playAudioFile:(LLAudioModel *)audioFile;

- (void)play;

- (void)stop;

- (void)pause;

- (NSTimeInterval)getLocalWavFileDuration:(NSString *)audioPath;

- (NSInteger)currentPlayAudioFileDuration;

- (NSString *)currentPlayAudioFileLocalPath;

@end
